package com.mew.chess.core.game.dyj.game.message;

import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.*;

/**
 * @author dylin
 * @create 2021/5/14
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BetResponseMessage extends ZebraBaseMessage<BetResponseMessage> {
    private long betNumber;//压注数量
    private int betType;//压注类型
    @Override
    public void write(ByteBuf b) {

        writeLong(b,betNumber);
        writeInt(b,betType);
    }

    @Override
    public BetResponseMessage read(ByteBuf byteBuf) {
        return null;
    }
}
